package patrol.mobile.com.mobilepatrol.adapter;

import android.content.Context;

import com.dl7.recycler.adapter.BaseQuickAdapter;
import com.dl7.recycler.adapter.BaseViewHolder;

import patrol.mobile.com.mobilepatrol.R;
import patrol.mobile.com.mobilepatrol.bean.DictListBean;

/**
 * Created by K on 2018/9/10.
 * des:其他业务
 */
public class OtherContentAdapter extends BaseQuickAdapter<DictListBean> {
    public OtherContentAdapter(Context context) {
        super(context);
    }

    @Override
    protected int attachLayoutRes() {
        return R.layout.item_content;
    }

    @Override
    protected void convert(BaseViewHolder holder, DictListBean item) {
        holder.setText(R.id.tv_content, item.getValue() + "");

    }
}
